Added examples on cookies and local storage