adding api to signup users to couchdb through form post