Added required class to required fields, and UI text
merged