Refactor: move editing credential lookup into utility library