Revert "Fix session user logoff hook"

This reverts commit 3b8f1cd59f523205d96c54c517b4d3e06bc061c4.