handler for loginresult response on socket connection