Add code to read api key