Pengamanan file logout