Implement search form and querying the data