add auth example, resolves #4
Merge pull request #11 from danielmahon/master

add auth example (thanks!)