switched to bootstrap ui and made flash messages work