20140709, logout script has issues