Table UI for checkAcc + refactoring