Make login page and router work again