add history to front page and save amqp history