commit code-add the teacher card and loading method