Program can get orders from the database