added api call to initialize app