Added form validation on add publication page