docs: public void logout(){
          List<LocalCredentials> accountList = accountStorage.getAccounts();
          if(accountList.size() == 1){
              String userName = accountList.get(0).getName();
              logger.debug("logout: " + userName);
              accountStorage.removeAccount(userName);
              user = null;
          }
          setLoginState(LoginState.LOGGED_OUT);
      }