Added API routes connected to resources