logout problem solved