add basic authorization code to usage sample code