replace userinfo by using openid connect

Closed #1