added progress indicator when logging in