Amended token.html for new asynchronous calls