add route and controller for records