Now also status code can be setted from the controller