sets logout hook to login url, adds support-badge html back in