[NF] Add UserInfo class (#20).