add search to routes