Add and test getUserInfo()