I find myself missing a custom logout event (in case the user presses the logout

). Otherwise there is a daemon that takes actions needed on timeout sessions.
I tend to record users' session to the DB and have a AJAX ping function to renew the session record based on an interval, or whenever the user refreshes the browser.
I suppose during an update you could add a custom logout event.