Added validation and highlighted missing fields with red border