Hi Constanza,
I think a easy way to check if the cookie popup should show up is to store the cookie preference of the user in the local storage. This way, the cookie preferences are remembered even when the user logs out.
You could also use a boolean on account or cookie preference object linked to account and check if the user has already accepted/declined the cookie message.
Hope this helps,
Maarten Kroneman
Hi Constanza,
You need to have a Boolean that shows/hides this cookie. The Boolean can be set (not committed) to true every time the user logs in, and a new session is initiated. If the session ends the boolean will reset to its default state thus showing the cookie in the next login.