let currentLocation = window.location.href; if (currentLocation.includes("/login") || currentLocation.includes; window.location.replace("/")