implement database connection for OrderSubmit