getToken function usage example was added