controller decorator