session and local storage almost done!