added functionality to view and switch between lobbies