fix logout button functionality

HTC-BootCoder