add pagination to agent admin panel