Fixing issues with localstorage, footer and rendering