Made index a form instead