Store and retrieve user preferences.