flash messages functions moved to theme gems