Retrieving all notes functionality works