# Keeping user logged in not working

**URL:** <https://forum.bubble.io/t/keeping-user-logged-in-not-working/31867>\
**Category:** Need help\
**Created:** [June 21, 2018, 4:41pm UTC](https://forum.bubble.io/t/keeping-user-logged-in-not-working/31867 "2018-06-21T16:41:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.johar.raza](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@m.johar.raza](https://forum.bubble.io/u/m.johar.raza)\
**Post date:** [June 21, 2018, 4:41pm UTC](https://forum.bubble.io/t/keeping-user-logged-in-not-working/31867/1 "2018-06-21T16:41:26Z")

</div>

Please help me. We have a short time to launch this application however i am stuck at one big issue.

The issue is that, no matter i log in user from email and password / or i use log in to Facebook option, the user is logged out whenever i refresh the application link and will return to index. I have checked keep logged in option. Nothing works.

Page i want to load once user is logged in : [https://tys.bubbleapps.io/version-test/home](https://tys.bubbleapps.io/version-test/home)

However, everytime it takes user to : [https://tys.bubbleapps.io/version-test/](https://tys.bubbleapps.io/version-test/)

what i want is if the user has not logged out, and opens the application it should go to [https://tys.bubbleapps.io/version-test/home](https://tys.bubbleapps.io/version-test/home) page.

---

<div class="post-metadata">

**Author:** ![AlonsoC](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@AlonsoC](https://forum.bubble.io/u/AlonsoC)\
**Post date:** [June 21, 2018, 5:20pm UTC](https://forum.bubble.io/t/keeping-user-logged-in-not-working/31867/2 "2018-06-21T17:20:55Z")

</div>

maybe if you can share a link to the editor I or someone else can take a look. I´ve never had this happen to me. By any chance do you have a workflow on your page that says “when page loads\>send user to index”?

---

<div class="post-metadata">

**Author:** ![m.johar.raza](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@m.johar.raza](https://forum.bubble.io/u/m.johar.raza)\
**Post date:** [June 21, 2018, 5:45pm UTC](https://forum.bubble.io/t/keeping-user-logged-in-not-working/31867/3 "2018-06-21T17:45:19Z")

</div>

Thank You for your quick response. I forgot to add that workflow. Added it. And now it works perfectly.

Thank You. Have a Blessed Day 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [August 30, 2018, 4:41pm UTC](https://forum.bubble.io/t/keeping-user-logged-in-not-working/31867/4 "2018-08-30T16:41:28Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
