resources controller