room state and user state