hook up index post