Registration form and validator improved