added view helper for oauth2