Add enroll function in EnrollController
Improve code in RegistrationController
Add logout function in main