Trying to debug logout