Added form validation; Added success message upon submit.