refactor of transactions page