fetch appKey method added