implement discussion and filebox system in couchbase