Fix for admin access for teachers