Added code to get access_token back