added get all notes functionality