Framework for loading previous sessions in history page