Added code to reset password.