added text danger class in errors