setting cookie for game as well

with key gid, store the current game's id, so the user can join
the next game when it starts, or rejoin as a new user if he quit the game
added config file option and default config