add style for invalid fields on register