# Can we show another homepage when user is logged in?

**URL:** <https://forum.ghost.org/t/can-we-show-another-homepage-when-user-is-logged-in/23626>\
**Category:** Memberships & subscriptions\
**Created:** [June 22, 2021, 1:28am UTC](https://forum.ghost.org/t/can-we-show-another-homepage-when-user-is-logged-in/23626 "2021-06-22T01:28:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorlyneto](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dorlyneto/32/7782_2.png) [@dorlyneto](https://forum.ghost.org/u/dorlyneto)\
**Post date:** [June 22, 2021, 1:28am UTC](https://forum.ghost.org/t/can-we-show-another-homepage-when-user-is-logged-in/23626/1 "2021-06-22T01:28:04Z")

</div>

Hi folks! I’m using Ghost 4.7.0 on my website: [powernap school | treinamentos de soft skills](https://powernap.school/)

The theme I’m using is this: [Nikko (bironthemes.com)](https://nikko.bironthemes.com/)

It has several different index.hbs formats. I was wondering if it’s possible to show for the user a different home page when she’s logged in. Could you please help me with that?

With best regards,  
d.

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [June 22, 2021, 1:32am UTC](https://forum.ghost.org/t/can-we-show-another-homepage-when-user-is-logged-in/23626/2 "2021-06-22T01:32:11Z")

</div>

Yes! You can use the `index.hbs` as a “router” to conditionally render a partial depending on the context - eg.

```auto
{{#if @member.paid}}
  {{!-- partials/index-paid-member.hbs --}}
  {{> index-paid-member}}
{{#else if @member}}
  {{!-- partials/index-member.hbs --}}
  {{> index-member}}
{{else}}
  {{!-- partials/index-non-member.hbs --}}
  {{> index-non-member}}
{{/if}}

```
