Switched from pages controller to students controller