refactor to student_view.html