couchbase metadata and one needed view. get_role is not needed anymore but just for the sake of it.