adding form fields to main page