Added REST status code send back