changed flash message disappearing to bootstrap solution