Fixed data.username to socket.username.