add db manager with pdo