me template now working correctly with oauth2