added controller.php