Added error flash messages