if ($_GET["action"] == "profile") {
     // store other session variables from Super Global $_SESSION
     $user_id = $_SESSION['user_id'];
     $usernameInput = $_SESSION['user_name'];
     $passwordInput = $_SESSION["pass_word"];
     $avatarfile = $_SESSION['avatar_file'];
     $views->getView("views/header.php");
     $views->getView("views/profile.php");
     $views->getView("views/footer.php");
 }
 //CRUD ACTION: READ
 // If user action is "dashboard"...
 if ($_GET["action"] == "dashboard") {
     $views->getView("views/header.php");
     $views->getView("views/dashboard.php");
     $read->readDisplayAllRecords();
     $views->getView("views/footer.php");
 }
 //CRUD ACTION: UPDATE
 // IF the action is "updateForm", display update form
 if ($_GET["action"] == "updateForm") {
     // Show Header, Update Form, and Footer;
     $views->getView("views/header.php");
     $views->getView("views/update_form.php");
     $views->getView("views/footer.php");
 } else {
     if ($_GET["action"] == "updateUserNow") {
         $update->updateUser();
         header('location: ?action=dashboard');
     }
 }