Some new authentication snippets and updates to communities crud samples