Added and hooked up delete note API method