Установите массив Exepute в PHP
$stmt->execute(array
($username,$hashedPass)
);
Perfect Pollan
$stmt->execute(array
($username,$hashedPass)
);