made the form on the index page