Added Socket.io for realtime communcation