Changed 'token' value of pinJSON for 'pintoken' to improve consitency. Typo fixed.