added history Controller, segue prepare method, and history setter