added checks for date and room_id validation