added lobby functionality