This is correct. Whatever your reason for citing the course, someone wrote the material you are using, and that would be the source. It could be an instructor, and author, or a guest speaker (personal communication, but the course is just a forum for...