DRYd up post, changed form validation to store in flash