starting on server code for battle lobbies