refactoring enrollment_handler