create order fixed
logging of orders implemented