Add the search form to the index page and a POST route to handle it