implemented transactions history functionality