Not able to access /userinfo from created API