Add courses to database