registration codes student business logic