public static function change()
 {
     //this method calls on changsPassword in account.model and updates the database with the new password.
     require_once "classes/Account.model.php";
     require_once "classes/Cleaner.class.php";
     AccountModel::changePassword($_POST['userForUpdate'], $_POST['updatedPassword']);
     return header('Location: /Fantastic-Teaching/?/User/home');
 }