got the submit button working