api_key management added