Added require attribute for logic.php