Using string instead of *string in getToken.