added sendPlayerToLobby