Named query fixed, getTeachers added