Hook in logout call to the logout button.