made flash messages work