Implemented retrieve app key