added local storage to app