Better security, comments, docs and APIs for publishing more user document fields