oAuth functionality completed, next step is to save to local storage