added the saving of enrollment id into courses