Made some changes to password reset