Game state is synchronised

The game state is synchronised correctly for clients who have connected
after the start of the game.
Added a login/join form