added css and validations