modify member pagination for ajax