Implementation of adding and entering player to game.

The adding/entering takes place when the user cllicks on "Join" or "Enter"
buttons in the lists of games.