Changes for getting an oauth token

still a work in progress