add /search to routes