adding logout flash