working version with org/room selection and cookies