Made User.setUserData() slightly more sensible