add flash class helper and bootstrap flash messages