connected to database through createOrder api call. attempted to fix some userID errors