adding pagination to admin/manager pages