added console log of _all_docs