clientid impl added
PricipalTokens now return pricipal id
fix for compiler error