add flash messages, fix delete confirmations