Add flash messages

the ``` else``` branch is not nessesary here