Introduce course registration

Unused variable?