I list logged in users in a db table. When they log off they are removed. How can I detect the case where they have closed the browser without logging off so that I can remove them from the db??