updated  enhanced version of catalog/includes/functions/whos_online.php with fix