Fixed homepage routing on page load.