adding api endpoints for cases & resources