modified orders controller, things controller and routes