update user's type to teacher after duplicating course
unregister teacher after duplicating course