add a method about add and query userinfo