flash error and notice - helpers