Adding joinRoom method