Added validations and css for tables