update authentication sample with arg 'token'