teacher.js and student.js cards working