Using PDO for user manager code