Moved the add codes to their own session variable due to side effect with courses.