minor fix, updated credential sql.