public static function run()
 {
     if (CookieController::cookieExists("session")) {
         if (($user = CookieController::refreshSessionCookie()) === false) {
             echo "<h1>No User Found</h1><hr/>";
             LogInController::run(null);
         } else {
             DashboardView::show($user);
         }
     } else {
         LandingView::show(null);
     }
 }
    public static function show($args)
    {
        ###(HTML)
        ?>
		<!DOCTYPE html>
		<html>
			<?php 
        MasterView::insertHead("/sm_project/css/Landing.css", "");
        ?>
			<body>
				<?php 
        MasterView::insertNav(null);
        LandingView::insertContent();
        MasterView::insertFooter(null);
        ?>
			</body>
		</html>
		<?php 
        ###(ENDHTML)
    }
###(SECTION) Redirect
switch ($control) {
    case "sign-up":
        SignUpController::run(null);
        break;
    case "log-in":
        LogInController::run(null);
        break;
    case "dashboard":
        DashboardController::run(null);
        break;
    case "profile":
        ProfileController::run(null);
        break;
    case "edit-profile":
        EditProfileController::run(null);
        break;
    case "build-map":
        MapController::run(null);
        break;
    case "log-out":
        LogOutController::run(null);
        break;
    default:
        if (array_key_exists("session", $_COOKIE)) {
            DashboardController::run(null);
        } else {
            LandingView::show(null);
        }
}
###(ENDSECTION) Redirect