add client; add origins for local file client worked