Added the ability to remove courses from both UI and the database.