Updated with new route and controller logic