Restored logout