Add funcitons to get access token from authorization code