now passing the user object into the UserPrefs constructor