When player creates game, he is searched by registrationId in the db. If not found, new one is created. If found, it has the gameId added to its list. In both cases the game adds the player to its array.
Still trying to fix it..