use preventdefeult to stop form submit