Updated the user authentication