We need to use local storage in order to store data client side both for caching an user preferences.