Add realtime online/offline