Add flash messages

@danilms 
@bakulinav means that we need code in `else`

but `else` word is extra
because `redirectTo` breaks code execution