Adjusted routes to display different pages in pagination.