added form validation, fetching/loading filtered data