persist connect demo