Added some parameter security to functions in courses.
Added some parameter security to functions in both courses files.