I have been battling Datatables with 5.4 without any success and have decided that I will have to walk another route as I cannot give it more time.
I have therefore a page in the public area in a subdirectory called ajax, datatables_users.php.
This page generates a datatable using server side processing fine (which I could never get to work in 5.4) so I just want to call it from a controller.