HTML form created for collecting user data + Couchdb error handling for duplicate keys