added form controls to index