login and set api key
create app controller, store api in it