fixed #9 addded auth call to named map and completed the example