refactored to follow the new roles JSON serialisation
datatables upgraded to 1.9.4 (sorting of boolean columns now works)