Orders database connectivity working