added getting account transactions
refactoring