check if order already existsin session before using it