add datatables on index action
implement datatables correctly on index action