Added flash messages support
Added flash messages support