Added flash messages with timeout or click