fixed userId bug in couse creation