# 2nd login page (smtg like that, read to understand)

**URL:** <https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388>\
**Category:** Ask for Help\
**Created:** [March 8, 2022, 4:43pm UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388 "2022-03-08T16:43:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sydity](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sydity/32/39923_2.png) [@sydity](https://community.glideapps.com/u/sydity)\
**Post date:** [March 8, 2022, 4:43pm UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/1 "2022-03-08T16:43:14Z")

</div>

I saw someone did a login page for users to edit their details before proceeding into the app and I tried to replicate it but I’m facing some issues. So basically I made the visibility of that tab is when email is signed-in-user’s email, show that tab. This tab will make users update their details when they enter because most users don’t add their name or email properly and also free glide changes their emails into anonymous emails. But here is the issue, like I said above I made the visibility of that tab when email is signed-in-user’s email, so when the user tries to edit the email that glide changed into the anonymous emails, the page disappears and shows invalid. How do I make the visibility of that tab only for the user that is logging in and still allow them to edit their email without showing the invalid page?

> **[BookIt](https://familiar-railway-7924.glideapp.io/)**
>
> Find and keep track of your books here!

^ My app for whoever doesn’t understand what I mean. Try signing-in and then changing your email.

---

<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:** [March 8, 2022, 4:53pm UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/2 "2022-03-08T16:53:57Z")

</div>

You shouldn’t be changing the email that is linked with the sign in. If you do, then it can and will break many things. If you want to capture a user’s real email address, then I recommend using a separate column to hold that email and leave the original alone.

---

<div class="post-metadata">

**Author:** ![sydity](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sydity/32/39923_2.png) [@sydity](https://community.glideapps.com/u/sydity)\
**Post date:** [March 8, 2022, 4:55pm UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/3 "2022-03-08T16:55:34Z")

</div>

Ah so make 2 columns for emails, 1 for the anonymous and 1 for editing?

---

<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:** [March 8, 2022, 5:04pm UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/4 "2022-03-08T17:04:45Z")

</div>

Yes, that’s what I would do. The problem is that glide relies on that anonymous email to link the user profile record to the signed in user. Also, whenever you use the email special value in forms, glide will still write the anonymous email. If you change the email in the user profile, then you will have no idea who created a row in other tables that will contain an email. It will cause a lot of trouble down the road if you start overwriting it.

---

<div class="post-metadata">

**Author:** ![sydity](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sydity/32/39923_2.png) [@sydity](https://community.glideapps.com/u/sydity)\
**Post date:** [March 8, 2022, 5:09pm UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/5 "2022-03-08T17:09:15Z")

</div>

> [@Jeff\_Hager](#):
>
> Also, whenever you use the email special value in forms, glide will still write the anonymous email. If you change the email in the user profile, then you will have no idea who created a row in other tables that will contain an email. It will cause a lot of trouble down the road if you start overwriting it.

I don’t quite understand this part, but since I tried the above and tested it my app doesn’t seem to work so I will just not allow users to edit their emails. Sorry for the bother and thanks for the help!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 9, 2022, 12:06am UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/6 "2022-03-09T00:06:10Z")

</div>

> [@sydity](#):
>
> So basically I made the visibility of that tab is when email is signed-in-user’s email, show that tab.

Also, this should be the filter, not the visibility condition. If the visibility condition is email is signed-in user’s email, it will always be true.

---

<div class="post-metadata">

**Author:** ![sydity](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sydity/32/39923_2.png) [@sydity](https://community.glideapps.com/u/sydity)\
**Post date:** [March 9, 2022, 6:20am UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/7 "2022-03-09T06:20:52Z")

</div>

> [@ThinhDinh](#):
>
> Also, this should be the filter, not the visibility condition. If the visibility condition is email is signed-in user’s email, it will always be true.

Ah right, sorry… I tend to mess up terms alot, I meant filter.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 9, 2022, 8:07am UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/8 "2022-03-09T08:07:49Z")

</div>

No worries, please ask questions if you need help!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [March 10, 2022, 8:07am UTC](https://community.glideapps.com/t/2nd-login-page-smtg-like-that-read-to-understand/39388/9 "2022-03-10T08:07:57Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
