Applied Pagination to all controllers