use condition in guest and room controller