changing ws endpoint
endpoint with secret