Added methods for getting/setting api key