finished function-setUserInfo