added category model; updated user index to use datatable