changes made for password reset