tracks user going online/offline