add delete and edit functionality to notes for a user