Please do work for this task in a branch called issue-708.
Currently, it's pretty easy to define a course twice. Please update the add course method to check that neither the course name nor course number fields are already defined when creating a new course.