Do some refactorings

Do some refactorings at enterprise controller

Do some refactorings at student controller