Move flash messages to separate template

Close #3