refactor students controllers