bugfix PDO reg + fix user