PDO database support and OAuth user AC agent