updated socket allowed origin