fixed reset password bug.  Code needs a refactoring but bug has been finally squashed.

On a long enough timeline the survival rate for everyone drops to 0