added route for searching
added search function to match model names against a search term