removed mods array and mod function
updated pdo mod to use basic auth array