add check for enrolled courses before running module news