Signup Functionality and CouchDB connection