authenticating through TIES API