adds logging and improved error handling to user facet
adds logging and improved error handling to registry facet
adds logging and improved error handling to couchdb service