COMPLETED SECURE in up out. Sign-out logic