Changed routes for pagination