added file, added isTeacher method on server