HttpServletRequest request = this.getThreadLocalRequest();
HttpSession session = request.getSession();
Player playerName = (Player)session.getAttribute("PlayerInstance");
System.out.println(playerName);
GameServer game = MainServer.getMainServerInstance().getGameServerByGameName(gameName);
session.setAttribute("GameServerInstance",game );
//session.setAttribute("PlayerName", playerName);
// see MainServerManagementTest
game.joinGame(playerName);
}