Added basic online/offline tracker using socket.io