Detect pages visited and add them to storage
adding pages to local storage