add error flash
change error flag to danger