add some basic styles and basic validations