track online/offline status