new user authentication and reset password