grails added implementation for UserPreferencesController.