add-teacher.php cleaned up