added some things for oauth