User is logged out on window close.