Implementation join room, leave room