adding view to couchdb