Finished the lobby  functionallity of