Does the entry value of the page model not change dynamically?

Hello
I created two page models content pages.
The page url also has the same two.
What I want to do is that when I log in, the page model content is exposed
If you haven’t logged in, I want the page model content to be exposed

const entryKey = isLogin
? process.env.NEXT_PUBLIC_ENTRY_KEY_COMMERCE_MAIN_LOGGED_IN

useEffect(() => {
builder
.get(process.env.NEXT_PUBLIC_PAGE_MODEL_COMMERCE_MAIN!, {
url: location.pathname,
entry: entryKey,
cacheSeconds: 0,
})
.promise()
.then((data) => {
console.log(data);
setBuilderContentJson(data);
setIsLoading(false);
});
}, [isLogin]);

I implemented it like this, but only the page model content is exposed on the screen.
Please help me with how to implement itPreformatted text

Hello,

Can you please confirm if I’m understanding you correctly?

You are attempting to implement dynamic rendering depending on whether a user is logged in or not? And you would like to serve one page entry over another depending on the isLogin status?

Is this intended to apply to your editors/designers who are using the Builder Visual Editor or Users who visit your Production/Public facing site?