Available rooms are now working

added functionality of available rooms