fix error in sql syntax
add userprefs to gitignore
removed userprefs from cache
merge