added input box for api key