add search route

extract method get_results(query, page)