I can't pass an error message as the callback function as from a user point of view it is difficult to distinguish between 
- callback which succeeded and the string parameter is valid token
- callback which failed and the string parameter is an error message
This is an issue with the format of the api itself... It would have been easier if it was more of a promise based callback
Would be great to get more input from you on this...