add ui for register course