implement the search form, remove typeahead