Implement `logout` on browser, logout before each login.