refactored students_controller a little bit more