controller logic for orders. add params shortcut