validation and css

added validation and css