adding method to reset password