Added code for flash messages in blade template