made verify,
refactor to non static code and token
Merge branch 'master' of https://github.com/Silwing/IdP