added status end point to return json stats