interface for userinfo.