added twitter provider rewrite