Added a loading screen when logging in