implemented server in multiplayer lobby