# Prevent screen for user not logged in

**URL:** <https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173>\
**Category:** Get Help\
**Created:** [January 27, 2020, 8:59pm UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173 "2020-01-27T20:59:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibornset](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ibornset/32/9210_2.png) [@ibornset](https://forum.adalo.com/u/ibornset)\
**Post date:** [January 27, 2020, 8:59pm UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/1 "2020-01-27T20:59:24Z")

</div>

Hi there,

How to prevent viewing the screen if the user is not logged in?

Best,

---

<div class="post-metadata">

**Author:** ![ishantanusrivastava](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ishantanusrivastava/32/34947_2.png) [@ishantanusrivastava](https://forum.adalo.com/u/ishantanusrivastava)\
**Post date:** [January 28, 2020, 7:53am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/2 "2020-01-28T07:53:59Z")

</div>

Take property `true/false` & set it if user is logged in `is true` then select the item you want to show from always visible to sometime visible & apply this rule

---

<div class="post-metadata">

**Author:** ![ibornset](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ibornset/32/9210_2.png) [@ibornset](https://forum.adalo.com/u/ibornset)\
**Post date:** [January 28, 2020, 8:39pm UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/3 "2020-01-28T20:39:28Z")

</div>

@ishantanusrivastava For component yes I understand but I say for the whole screen because currently there are only the options:

Home Screen (if logged)  
Welcome Screen (no logged)  
Normal Screen (none)

Suggestion:  
User Screen (if logged)

---

<div class="post-metadata">

**Author:** ![TonyD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tonyd/32/38_2.png) [@TonyD](https://forum.adalo.com/u/TonyD)\
**Post date:** [January 30, 2020, 4:19am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/4 "2020-01-30T04:19:03Z")

</div>

I have not tested this, but I wonder if you added another Welcome screen (Add screen -\> Intro -\> Welcome Screen) if that would work as really that screen should be set for everyone to see? Then link to it from there?

Let us know if it works.

---

<div class="post-metadata">

**Author:** ![Ben](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ben/32/9_2.png) [@Ben](https://forum.adalo.com/u/Ben)\
**Post date:** [January 30, 2020, 6:54pm UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/5 "2020-01-30T18:54:07Z")

</div>

@TonyD you can only have one welcome screen.

@ibornset We’ll be releasing Conditional Actions in the coming weeks. That will allow you to have different buttons that link to different screens depending on if the user is logged in.

Currently, the only way to ensure this is to make sure that your Welcome screen does not link to any screen that should be exclusive to logged in users.

---

<div class="post-metadata">

**Author:** ![ibornset](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ibornset/32/9210_2.png) [@ibornset](https://forum.adalo.com/u/ibornset)\
**Post date:** [January 31, 2020, 11:59am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/6 "2020-01-31T11:59:34Z")

</div>

@Ben Thanks! This way it seems to be a good option to manage the screens.

---

<div class="post-metadata">

**Author:** ![mariocampello](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/mariocampello/32/103_2.png) [@mariocampello](https://forum.adalo.com/u/mariocampello)\
**Post date:** [March 5, 2020, 2:17am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/7 "2020-03-05T02:17:33Z")

</div>

Is there any way I can hide a button from a user that is not logged?

---

<div class="post-metadata">

**Author:** ![ishantanusrivastava](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ishantanusrivastava/32/34947_2.png) [@ishantanusrivastava](https://forum.adalo.com/u/ishantanusrivastava)\
**Post date:** [March 5, 2020, 8:13am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/8 "2020-03-05T08:13:27Z")

</div>

You can create a new screen & set - when a button clicked a screen modal appear which contain login/signup option to use this button/ or feature.

You can download the Upordo the same thing i’m using - visit: [https://www.upordo.com](https://www.upordo.com)

---

<div class="post-metadata">

**Author:** ![mariocampello](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/mariocampello/32/103_2.png) [@mariocampello](https://forum.adalo.com/u/mariocampello)\
**Post date:** [March 6, 2020, 11:27am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/9 "2020-03-06T11:27:27Z")

</div>

That’s actually a great idea. Thanks man.

---

<div class="post-metadata">

**Author:** ![Ben](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ben/32/9_2.png) [@Ben](https://forum.adalo.com/u/Ben)\
**Post date:** [March 7, 2020, 2:03am UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/10 "2020-03-07T02:03:38Z")

</div>

You can also hide a button from a non-logged in user by setting the button to be only visible if the logged in users email address is equal to empty.

---

<div class="post-metadata">

**Author:** ![mariocampello](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/mariocampello/32/103_2.png) [@mariocampello](https://forum.adalo.com/u/mariocampello)\
**Post date:** [March 7, 2020, 1:31pm UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/11 "2020-03-07T13:31:23Z")

</div>

Hey @Ben. The button is inside the app bar… any clues?

---

<div class="post-metadata">

**Author:** ![dosandco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dosandco/32/39_2.png) [@dosandco](https://forum.adalo.com/u/dosandco)\
**Post date:** [March 9, 2020, 1:27pm UTC](https://forum.adalo.com/t/prevent-screen-for-user-not-logged-in/173/12 "2020-03-09T13:27:05Z")

</div>

Place it on top of the app bar and set its fixed location to “Top”:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/1X/4cf263fa103660383aaeef2ca1c1881766cf66ed.png)
