added resourceful controller