added local storage for the app