Handle online/offline users.