added view for flash messages