fixed console error in student controller
labels to student and teacher
merged