prevent resubmit

prevent resubmit when refresh the page