fix bug in getUserInfo, the interface of RegistrationProfile is different with other UserProfile