added support for userinfo endpoint