Set graded_by in controller