dealing with odd logout issues