Move flash messages to separate template

Closes #13