Revised the routes to filter results in the route