# Multiple users using the same browswer

**URL:** <https://community.hubspot.com/t/multiple-users-using-the-same-browswer/12545>\
**Category:** APIs & Integrations\
**Created:** [January 28, 2019, 11:50am UTC](https://community.hubspot.com/t/multiple-users-using-the-same-browswer/12545 "2019-01-28T11:50:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 28, 2019, 11:50am UTC](https://community.hubspot.com/t/multiple-users-using-the-same-browswer/12545/1 "2019-01-28T11:50:05Z")

</div>

I am trying to integrate the conversations with my website.

After a user logs in to my website I use below code to identify a user which works fine:

```auto
 window._hsq.push(['identify', {
 email: 'firstUser@email.com',
 firstname: 'firstUser',
 }]);
 window._hsq.push(['trackPageView']);

```

Then if the user logs out from my website and another one logs in he’s identified as the firstUser. (which means he sends message through conversations as the first user)

I tried using `_hsq.push(['revokeCookieConsent']);` to delete the cookies but it deletes all of them except for `messagesUtk` which seems to be the one causing the issue.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [January 29, 2019, 6:44pm UTC](https://community.hubspot.com/t/multiple-users-using-the-same-browswer/12545/2 "2019-01-29T18:44:13Z")

</div>

Hi, [@ahmdsolmn1](https://community.hubspot.com/t5/user/viewprofilepage/user-id/84912).

To confirm, are you trying to follow the steps @cbarley mentions in [this post](https://community.hubspot.com/t5/APIs-Integrations/Hubspotutk-cookie-with-several-users-on-the-same-machine/m-p/236312), but finding that the `messagesUtk` cookie remains even after triggering`_hsq.push(['revokeCookieConsent']);`?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 15, 2019, 1:12pm UTC](https://community.hubspot.com/t/multiple-users-using-the-same-browswer/12545/3 "2019-03-15T13:12:08Z")

</div>

Apologies for not following up on this post.

The cause of this issue should now be resolved.

The `revokeCookieConsent` method now removes the `messagesUtk` cookie, allowing you to clear live chat identities on the same device. This change has been live since **February 21, 2019**.

See [this thread](https://community.hubspot.com/t5/APIs-Integrations/Hubspot-LiveChat-Identifying-users-within-Single-page-apps/m-p/251357) for additional context.
