Fix session user logoff hook