updating user authentication