Added functionality to join room