Add a route for autocomplete queries