History page now works