changed api key to settings