enable to edit lesson and to register lesson from table