Add in code to refresh the token