fixed api to getUserInfo