added allowAnonymous flag and publishing code
Merge branch 'master' of https://github.com/derkis/Scribe