few edits in auth.js and room.js.