user enters a room id, room id sent to server stores in an object/database another user enters the same room id room id sent to server server verify the id if true joins the room else false