Fixed the user login issue