register & join rooms