Added resource controller