Adding ajax to leave or join the game, counter to display number of players in a game.