couch is now running https
starting to relitivize pouches per corpora gettin this error at the moment Failed to load resource: the server responded with a status of 412 (Precondition Failed)
Automatically getting user logged into their corpus server with their new username after the corpus/database is created. The cookie is stored in their browser so that they can replicate/contact couch without having to login again for a little while. for #204 This is getting close to fixing #204, we can create couchdb, we can relitivize pouch for multiple corpora in the browser and we can authenticate direclty with couch from backbone. next steps are to streamline the replication process, most likley
moved the function to authenticate user with their corpus server into the corpus object as it will always be called relative to one corpus. for #204
for #204 deleting pouch and localstorage on page load to test the pouch replication
prefixing corpus name with the username in the node js, this way all corpora will have a unique name that can be usd in pouch as well.
overwriting the pouch urls in the initiaze of Datum, Session, DataList, UserGeneric and Corpus, all of these are the docs that we save to a couch. I'm getting replication errors when i try to replicate, maybe the docs are not being stored in the right pouch, this should technically put al 5 in one pouch which is relativized to the corpus which was active when they were created.
calling the relativize function after creating or loading sessions, datalists and users. in the three load locations, main, app and UserWelcomeView that should put almost all of the objects into the current corpus' pouch to test to see if that is why the replication was failing.

it is working, it is giving some errors but the cookie authentication appears to be working. fixes #204

PUT http://localhost:5984/bill5-firstcorpus/ 401 (Unauthorized) jquery.js:8240
dbbill5-firstcorpus: Start Changes Feed: continuous=false libs/pouch.alpha.js:2114
GET http://localhost:5984/bill5-firstcorpus/_local/73b5aa2103ccbd43345a9b22f930ea0a 404 (Object Not Found) jquery.js:8240
http://localhost:5984/bill5-firstcorpus/: Start Changes Feed: continuous=false libs/pouch.alpha.js:1403
Numeric transaction modes are deprecated in IDBDatabase.transaction. Use "readonly" or "readwrite".
Numeric direction values are deprecated in IDBObjectStore.openCursor. Use"next", "nextunique", "prev", or "prevunique".
dbbill5-firstcorpus: Wrote Document  _design/blockNonContribAdminWrites libs/pouch.alpha.js:1812
GET http://localhost:5984/bill5-firstcorpus/_local/73b5aa2103ccbd43345a9b22f930ea0a 404 (Object Not Found) jquery.js:8240
Numeric transaction modes are deprecated in IDBDatabase.transaction. Use "readonly" or "readwrite".
Numeric direction values are deprecated in IDBObjectStore.openCursor. Use"next", "nextunique", "prev", or "prevunique".
dbbill5-firstcorpus: Wrote Document  _local/a991c0a874f3a05f4a7d410fa446a7fc libs/pouch.alpha.js:1812
Replicate to http://localhost:5984bill5-firstcorpus libs/Utils.js:68
Object
 libs/Utils.js:68
null libs/Utils.js:68
Replicate from http://localhost:5984bill5-firstcorpus libs/Utils.js:68
Object
 libs/Utils.js:68
null libs/Utils.js:68
dbbill5-firstcorpus: Open Database libs/pouch.alpha.js:1629
dbbill5-firstcorpus: Start Changes Feed: continuous=undefined libs/pouch.alpha.js:2114
PUT http://localhost:5984/bill5-firstcorpus/ 401 (Unauthorized) jquery.js:8240
dbbill5-firstcorpus: Start Changes Feed: continuous=false libs/pouch.alpha.js:2114
http://localhost:5984/bill5-firstcorpus/: Start Changes Feed: continuous=false libs/pouch.alpha.js:1403
Numeric transaction modes are deprecated in IDBDatabase.transaction. Use "readonly" or "readwrite".
Numeric direction values are deprecated in IDBObjectStore.openCursor. Use"next", "nextunique", "prev", or "prevunique".
dbbill5-firstcorpus: Wrote Document  _local/a991c0a874f3a05f4a7d410fa446a7fc libs/pouch.alpha.js:1812
Replicate to http://localhost:5984bill5-firstcorpus libs/Utils.js:68
Object
 libs/Utils.js:68
null libs/Utils.js:68
Replicate from http://localhost:5984bill5-firstcorpus libs/Utils.js:68
Object
 libs/Utils.js:68
null libs/Utils.js:68
put iris couch back in until we switch to EC2 so that the replicate button will work with iriscouch for now.
saving all the ids of the dasboard when the user hits replicate.
not clearing pouch and local storage, done testing
fixing the defaults so that sapir and i can load our data which is stored in iris couch

now sapir and i can log in and get our data from (the defualt server which is currently iriscouch)
fixing the defaults so that sapir and i can load our data which is stored in iris couch

now sapir and i can log in and get our data from (the defualt server which is currently iriscouch)
Merge branch 'master' of github.com:cesine/iField
Merge pull request #259 from cesine/master

Pouch is now relativized per corpus, it is also successfully using cookies to insert into the user's couchdb and  corpora are locked down using the couchdb security access control configuration set up by our nodejs auth server