Demo application to explain how to authenticate an app to esri services