Fix whitespace in student_handler.py and fix an error in teacher_handler.py