finished the search/category route
replace search page contents with search results on successful post request