db connection method change from mysqli to PDO, add backgrid table