built simple api displaying all resources