add ajax search and pagination for dashboard categories