How to handle a logout event

Hello everybody!

This week's video is up! And today we show how to handle a logout event on web apps.

You can find the video here - https://youtu.be/8EZYFQ5OTPY

As always, actionable feedback and suggestions are welcome.

Hey Jay,

To be completely honest this doesn't look like an event to me, just the handling of a server action.
I would've excepted something like a BPT process or timer etc. which gets triggered on certain user actions.

Because, if this deletion of user data gets very big, the user might have to wait a long time before they are actually logged out. Using a process or timer will remove the load on the user request.
It does however bring another problem, if the user is too fast in logging back in they could still access the data.

I think it would be interesting to see something about that :)