add local storage for the front page pw