private void OnFocus()
 {
     if (AS_Main.selected_user_index < AS_Main.add_index && !AS_Main.signingIn && !APIUser.IsLoggedInWithCredentials)
     {
         AS_Main.Login();
     }
 }
    private void AccountGUI()
    {
        if (APIUser.IsLoggedInWithCredentials)
        {
            OnCreatorStatusGUI();
        }
        else
        {
            NotLoggedInGUI();
        }

        GUILayout.BeginHorizontal();
        GUILayout.Label("");

        if (APIUser.IsLoggedInWithCredentials)
        {
            if (GUILayout.Button("Logout"))
            {
                AS_Main.Logout(true);
            }
        }
        else
        {
            if (GUILayout.Button("Login"))
            {
                AS_Main.Login();
            }
        }
        EditorGUILayout.Separator();
        if (GUILayout.Button("Remove"))
        {
            AS_Main.Remove();
        }
        GUILayout.Label("");
        GUILayout.EndHorizontal();
    }