I am working on a notetaker app where I am trying to create a search option for logged-in and anonymous users. For anonymous users, the search query will return all the publicly