added datepicker restrictions, updates to search but not fully functional