added submit button to index