moved route for search form out of index.js into form.js