Thanks for all your help.
I performed some tests sent to me by other responders and still no luck. But in the mean time I also discovered that I was passing the user results of the wrong function! I changed how I report the new password to the user and it works now. In hind-sight it was painfully obvious. I have a lot to learn about testing and debugging! Thank you for your time. Jim