Implemented UserSettings as a singleton.