add tasks uses pouchdb