button disable after logout solved