# Feed from previously logged in user

**URL:** <https://forum.social.plus/t/feed-from-previously-logged-in-user/455>\
**Category:** Android\
**Created:** [June 22, 2022, 10:00am UTC](https://forum.social.plus/t/feed-from-previously-logged-in-user/455 "2022-06-22T10:00:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mika](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@mika](https://forum.social.plus/u/mika)\
**Post date:** [June 22, 2022, 10:00am UTC](https://forum.social.plus/t/feed-from-previously-logged-in-user/455/1 "2022-06-22T10:00:02Z")

</div>

When I log out with user account 1 using the “await disconnectClient();” and then logging in with user account 2.

The `createQuery(queryGlobalFeed"` return the feed from the previous logged-in user.  
But this only happens for the first few minutes / seconds. After that suddenly, the feed of the current logged-in user gets retrieved.

How do I fix this ?  
And is there a way to see for which user the feed gets retrieved.

I’m using the typescript SDK `"@amityco/ts-sdk": "^0.0.1-beta.18",`

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [July 7, 2022, 1:53pm UTC](https://forum.social.plus/t/feed-from-previously-logged-in-user/455/2 "2022-07-07T13:53:01Z")

</div>

Hello @mika sorry for the late response, we would recommend you to call `disableCache` on logout. If you have further questions, please let us know 😊🙏
