# "Unfetch" collections on logout

**URL:** <https://community.weweb.io/t/unfetch-collections-on-logout/20838>\
**Category:** Ask us anything\
**Created:** [February 27, 2026, 6:27am UTC](https://community.weweb.io/t/unfetch-collections-on-logout/20838 "2026-02-27T06:27:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![garcilaso](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/garcilaso/32/11683_2.png) [@garcilaso](https://community.weweb.io/u/garcilaso)\
**Post date:** [February 27, 2026, 6:27am UTC](https://community.weweb.io/t/unfetch-collections-on-logout/20838/1 "2026-02-27T06:27:36Z")

</div>

Hello,

I have some collections that are useful to preserve on navigation when the user is logged in. However, it’d be necessary to remove them when the user is logged out. The problem that I see: if I logout with a different user and the collection is still fetched, I will see the data from the previous user.

Is there any way to control that?

Thanks!

---

<div class="post-metadata">

**Author:** ![Batik\_Okazov](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/batik_okazov/32/12688_2.png) [@Batik\_Okazov](https://community.weweb.io/u/Batik_Okazov)\
**Post date:** [February 27, 2026, 4:02pm UTC](https://community.weweb.io/t/unfetch-collections-on-logout/20838/2 "2026-02-27T16:02:56Z")

</div>

Hi,

you can clear a collection with “update collection” action:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/77ddc9a1621f83118fc890bd58d005d34d5aea90.png)
