added colors for online/offline