added updating online/offline user status