add logging,memcache cardlist,https connection