fixing logging, adding order feature to api