add rest resources