public Item Package(ItemIdentifier itemId)
        {
            //encrypt login and password
            string loginName = "";
            string pass = "";
            getloginAndPass(UserId, ref loginName, ref pass);
            string _url = getWSUrl(this.Url);

            RepositoryWebservice repo = new RepositoryWebservice(_url);
            //repo.Commit(loginName, pass);
            byte[] item = Convert.FromBase64String(repo.Package(this.SessionKey, itemId, loginName, pass));
            repo.Dispose();

            if (item == null || item.Length <= 0)
                return null;

            var provider = Umbraco.Courier.Core.ProviderModel.ItemProviderCollection.Instance.GetProvider(itemId.ProviderId);
            Item it = provider.Deserialize(itemId, item);

            return it;
        }