working datatable with pagination