figured out how to do back and forth communication
implemented explicit connection to lobby and list of players
correctly reconnect with playerName
extracted server-wide pushes into functions
moved all lobby logic to websockets