adding api key field