updated return status for rest api (ItemResource.java)