Added validations to RegisterForm