add flash messages support for bootstrap