some revision about user, couchDB,endpoints and services,junit test