private void cmd_logout(final String arg, final Client client) {
		if (use_accounts) {
			// remove the player from the game
			init_disconn(client, true);

			final Account account = caTable.get(client);

			// if there is an account associated with the client
			if (account != null) {
				account_menu(account, client);
				setClientState(client, "account_menu");
			}
		}
		else {
			init_disconn(client, false);
		}
	}