updated students_controller and sessions_controller