// todo: authenticate
        private async Task <IAppServiceUser> AuthenticateAsync()
        {
            await _appServiceClient.Logout();

            while (_appServiceClient.CurrentUser == null)
            {
                await _appServiceClient.LoginAsync(AUTH_PROVIDER, false);
            }

            return(_appServiceClient.CurrentUser);
        }