(function () { document.cookie = "destination_url=" + window.location.href + ";path=/"; window.location.href = "/login"; })();