added two new actions to checkout template