Adding logic to only delete note if the author is the user requesting the delete