close the browser after logout