https://kniteo.blogspot.com/2024/05/angular-user-logoff-on-closing-window.html
Angular: User Logoff On Closing Window