courseid should be unique