shouldn't the redirect be to student_path student ?