updating render fn; updated pdo connection string
updating base render fn