couchbase sync gateway working...almost