Adding authorization to the request.
Implementing couchDB backend.