fixing on_active and on_empty logic for rooms.  adding disconnect listener which notifies all rooms when users leave