Removed window.location.replace for #nav-logout