Add is_teacher checker to teachers controller