add getUserInfo for ios