Add  join room logic