switch socket connection between lobbies
seperate chat and lobby code