Shouldn't the controller return the response instead of sending it?