Added graphs for historic spending and also added a logout step