updated flash messages to work with bootstraps