added app auth handler support