fix: fix of validations for user

fix of validations for user, template added
and password confirmation works as well.