added auth to example