added in socket.id logic for messages and disconnect.