logout problem fixed