Made minor changes to the user login workflow