adding validation styling