code: public static void logout() {
  		GwtCommandDispatcher dispatcher = GwtCommandDispatcher.getInstance();
  		if (null != dispatcher.getUserToken()) {
  			GwtCommand command = new GwtCommand(LogoutRequest.COMMAND);
  			dispatcher.logout();
  			dispatcher.execute(command);
  		}
  	}
docs: Logs the user out.