logout change

to make it work perfect