fix timetable out of alignment
 implemen CanCan abilities replacing the admin field with roles and manual permission checking. Also allow users to edit their staff details