logic userinfo