added templates and oauth1.0