Publish user's login service fields in case autopublish is on.

Publish all but secret fields to the current user, and
basic identification information for other users.
With autopublish, publish others' google user ids
Docs for publishing more fields on user documents
Better security, comments, docs and APIs for publishing more user document fields
remove duplicate code
Update History.md