cdodge/add-user-preferences: add access to the UserPreference table via the API

fixes