Changes for online/offline status