add basic css and basic validation for model