add auth example, resolves #4