added user prefs module
set function for user pref