added 'logged in or not' check to addRoom function