Small error in the validate the password code - missing bracket:
$storedpassword = $yourRecordset->getColumnVal('paswordColumn');
$inputpassword = ((isset($_POST["password"]))?$_POST["password"]:"") ;
@session_start();
if (password_verify($inputpassword, $storedpassword)) { // <<==== two closing brackets instead of one
$_SESSION['auth_trigger'] = "passed";
} else {
$_SESSION['auth_trigger'] = "";
}
Otherwise this and post #9 code worked.