document.location.href='/login/' window.history.pushState("String", "naPp", "/")