add pagination to admin pages