on init, pass api url to storyContorller