add functionality for deleting notes