Handle and show online/offline status