Updated submit button to output data to console.log