moved datatables to api

not quite function, correct responses fed back, but content is not being displayed