implemented badLogin, fixed some bugs on teacherMdl