Implemented socket.io in base