adding status in rest responses