When user logs in, a loading indicator is displayed on the login button until the user is logged into the app