Logout implemented in a button.