Application user management in CouchDB