New function: add shared user to course managements.