updates on validation plugin and register form