Fix issues with initial connect to DB; nano logging in ImageService; not using methods in API to access fields