httparty function for access token
setup oAuth and retrieve accesss token