adds some real code for registering players to the game