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

**URL:** <https://forum.builder.io/t/does-the-entry-value-of-the-page-model-not-change-dynamically/6498>\
**Category:** Technical Questions\
**Tags:** nextjs\
**Created:** [October 1, 2024, 9:01am UTC](https://forum.builder.io/t/does-the-entry-value-of-the-page-model-not-change-dynamically/6498 "2024-10-01T09:01:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dl\_frontend](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dl\_frontend](https://forum.builder.io/u/dl_frontend)\
**Post date:** [October 1, 2024, 9:01am UTC](https://forum.builder.io/t/does-the-entry-value-of-the-page-model-not-change-dynamically/6498/1 "2024-10-01T09:01:40Z")

</div>

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

```auto
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 it`Preformatted text`

---

<div class="post-metadata">

**Author:** ![JuliusGD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/juliusgd/32/2523_2.png) [@JuliusGD](https://forum.builder.io/u/JuliusGD)\
**Post date:** [October 3, 2024, 5:27pm UTC](https://forum.builder.io/t/does-the-entry-value-of-the-page-model-not-change-dynamically/6498/2 "2024-10-03T17:27:19Z")

</div>

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?
