getUserData() improvement