Callback functions in Node.js are generally of the format
function (error, otherParameter) {}
But the verify method uses the format
function (success, error_code) {}
This seems unnecessary, as success can easily be indicated by the absence of an error code.