Move flash messages to separate template

Close #4