Put form validation @Valid to editAccount and editMyaccount in admin and
student account controller.
Also used hidden fields to pass password, username and acceptTerms as
hidden fields.