public static function delete()
 {
     // sends info to deleteContent method in content.model on what to delete.
     require_once 'Content.model.php';
     $contentMdl = new ContentModel();
     $contentMdl->deleteContent($_POST['deleteContentID'], $_SESSION['userID']);
     header('Location: /Fantastic-Teaching/?/User/home');
     return $data;
 }