Added Distributions to courses
 couldn't get warning message to display when an invalid weight/no name
  is input but it shouldn't add it to the database