back to history if customer is not guest

fix prestashop 1.4 problem.