Added caching for user settings