properly register user for the course they newly created