logout non-javascript compatability