signing and getuserinfo