corrected controllers and routes