Added checks to Teacher admin controller