Client side validation for password reset added.
Resetting password fixed.
[Changed] Code to generate new password.