public void exit(User user){
		 UserSettingsClient.getInstance().saveUserSettings();
		 DatabaseConnection.getInstance().leaveAllChannels(user);
		 try {
			 GameConnection.getInstance().leaveQueues(user);
			 GameConnection.getInstance().leaveGames(user.getID());
		} catch (Exception e) {
			e.printStackTrace();
		}
		System.exit(0);
	}