AuthenticateUser in UserModel now returns a user object of an authenticated user.