Implement joinRoom()