added delete action to courses show page