prepare local storage for app