void StartLogin()
        {
            LoginManager            loginManager = Services.Get <LoginManager>();
            CognitoIdentityBehavior cognito      = Services.Get <CognitoIdentityBehavior>();

            if (loginManager.Status != LoginStatus.LoggedIn && cognito.Status != LoginStatus.Uninitialized)
            {
                UIManager   uiManager = Services.Get <UIManager>();
                LoginScreen login     = uiManager.GetTopScreen() as LoginScreen;
                if (login == null)
                {
                    login = uiManager.PushScreen(UIScreenType.LoginDialog, null) as LoginScreen;
                }
                login.SetMode(LoginScreenMode.WaitingForUser);
            }
            else
            {
                FinishLogin();
            }
        }