app side working with localstorage