cleanup + add history
history page