Online and offline alert added