form and index page