Use statusResponse in layout controllers