transaction page refactoring