variable to create or not success flash messages