Add what looks like it should work for a logout, but doesn't.