# Cannot control component visibility based on logged-in state

**URL:** <https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552>\
**Category:** Report a Bug\
**Created:** [February 13, 2020, 5:27am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552 "2020-02-13T05:27:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 5:27am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/1 "2020-02-13T05:27:23Z")

</div>

My app’s URL:

[https://app.smallbrands.com.au/](https://app.smallbrands.com.au/)

Hi, I have suddenly lost my ability to control visibility of a component based on logged in/logged out username.  
It was fine a couple of hours ago.  
Anyone else?

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [February 13, 2020, 5:28am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/2 "2020-02-13T05:28:29Z")

</div>

Do you mean that the feature doesn’t work? Or you can’t find it? Can you make a demonstration and share it?

---

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 5:33am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/3 "2020-02-13T05:33:09Z")

</div>

It’s not appearing on the drop-down under Features. Sorry, how do I make a demonstration?

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [February 13, 2020, 6:15am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/4 "2020-02-13T06:15:01Z")

</div>

Show us with a video or screenshots.

The feature is now under Filter. Maybe it moved since you looked last?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/52d00373fd3f7443e158e29d7483a2ebe4d1e050.png)

---

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 6:20am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/5 "2020-02-13T06:20:03Z")

</div>

![Firefox_Screenshot_2020-02-13T06-18-00.038Z](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/f9b8a314a19d3763ee52c3585446babfbbc88cdd.png)

---

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 6:25am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/6 "2020-02-13T06:25:54Z")

</div>

It’s the same for both filter and visibility, across all components. Was fine this morning.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 13, 2020, 6:37am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/7 "2020-02-13T06:37:03Z")

</div>

Doesn’t look like your username column is registering as an email column. Does your username column contain email addresses?

---

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 6:38am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/8 "2020-02-13T06:38:15Z")

</div>

Yes

---

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 6:41am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/9 "2020-02-13T06:41:39Z")

</div>

OK, fixed it. I had an entry in the email column that wasn’t a correct email address. Thank you for the clue!

---

<div class="post-metadata">

**Author:** ![deborahlanyon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deborahlanyon/32/3739_2.png) [@deborahlanyon](https://community.glideapps.com/u/deborahlanyon)\
**Post date:** [February 13, 2020, 7:01am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/10 "2020-02-13T07:01:33Z")

</div>

Is it a problem to use email addresses as usernames generally?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 13, 2020, 11:54am UTC](https://community.glideapps.com/t/cannot-control-component-visibility-based-on-logged-in-state/4552/11 "2020-02-13T11:54:25Z")

</div>

I suppose that’s up for debate. I personally prefer to use my email as a username because I never forget my email address. If you want to use any per user or signed in user functionality in Glide, you need an email address.
