added signin/singout and couchdb views