Add the search route for the ajax method
Change the template to add the ajax search.