PDO log in fix