public static Byte[] Serialize(AuthIdentity identity)
        {
            var g = identity.UserId.ToByteArray();
             var u = Encoding.UTF8.GetBytes(identity.Name);

             return g.Concat(u).ToArray();
        }