added failover logic in the lobby