Adds account history and some improvements