If courseid is 0, adds existing coure - for event creation.