refact room page