You must create one actor instance for each user (WebSocket connection). Store the user’s information, like the search history, in this user actor.