Revert PDO since it was screwing logout

@encadyma