<?phpsession_start();include_once(model/Model.php);class Controller {    public $model;    public function __construct()      {          $this->model = new Model();    }     public function invoke()    {        if (isset($_GET['page']) && $_GET['page'] == registration)        {            if(isset($_POST['username']) && isset($_POST['password']))            {                // data send for registration                $user = $this->model->userRegistration($_POST['username'], $_POST['password'], $_POST['name'], $_POST['familyname'], $_POST['country'], $_POST['age'], $_POST['degree']);                   if($user->IsRegistered){                    include 'view/registered.php';                }                else                {                    include 'view/registration.php';                }            }            else            {                include 'view/registration.php';            }        } // if end for registration page        elseif (isset($_GET['page']) && $_GET['page'] == login)        {            if(isset($_POST['username']) && isset($_POST['password']))            {                // data send for login                $user = $this->model->userLogin($_POST['username'], $_POST['password']);                if($user->IsLogin){                    $_SESSION[username] = $user->Username;                    include 'view/home.php';                }                else                {                    include 'view/login.php';                }            }            else            {                include 'view/login.php';            }        } // elseif end for login page        elseif (isset($_GET['page']) && $_GET['page'] == edit_registered)        {            if(isset($_REQUEST['eid']))            {                // data send for edit registration for a particular user                $user = $this->model->userEditRegistration($_POST['username'], $_POST['password'], $_POST['name'], $_POST['familyname'], $_POST['country'], $_POST['age'], $_POST['degree'], $_REQUEST['eid']);                 if($user->IsRegistered){                    include 'view/registered.php';                }                else                {                    include 'view/edit_registered.php';                }            }            else            {                include 'view/edit_registered.php';            }        } // elseif end for edit registration page        elseif (isset($_GET['page']) && $_GET['page'] == delete_registered)        {            if(isset($_REQUEST['id']))            {                // id send for delete registration for a particular user                $user = $this->model->userDeleteRegistration($_REQUEST['id']);                  if($user->IsRegistered){                    include 'view/registration.php';                }                else                {                    include 'view/edit_registered.php';                }            }            else            {                include 'view/edit_registered.php';            }        } // elseif end for edit registration page since after delete it is redirecting to this page         elseif (isset($_GET['page']) && $_GET['page'] == logout)        {            // session is destroyed            unset($_SESSION[username]);            include 'view/home.php';        } // elseif end for logout        elseif (isset($_GET['page']) && $_GET['page'] == intro)        {            include 'view/intro.php';        } // elseif end for content page intro        elseif (isset($_GET['page']) && $_GET['page'] == leedsu)        {            include 'view/leedsu.php';        } // elseif end for content page leedsu        elseif (isset($_GET['page']) && $_GET['page'] == leedsuleedsmet)        {            include 'view/leedsuleedsmet.php';        } // elseif end for content page leedsuleedsmet        elseif (isset($_GET['page']) && $_GET['page'] == trav)        {            include 'view/trav.php';        } // elseif end for content page leedsuleedsmet        else        {            include 'view/home.php';        } // elseif end for content page home    }}?>
Is this a good controller?
php;mvc;web services