lobby logic