moved OAuth lib init