Added flash messages on logout.