moved room joining to rooms.js