code cleanup for logs/index.php - security measures.