relocated api key to enviroment