make sure form does not resubmit when refresh

// need to write some code here that will make sure that it will
// not resubmite the form everytime I hit refresh!