added basic room search function.