Repository to use local storage or cookies if browser does not have local-storage