get the basics of the submit button working; still does not call the api