Added loading UI for login.