added server API key and removed test print statement