added the submit button to the view