Create logaction.php