authenticating swift