added plugin capability and form validation plugin