adding course to ProfessorMessage