adding form to main page