added logging, added null reference prevention
Merge branch 'master' of https://github.com/agileharbor/openCartAccess