used ajax to make the creation of a new story instance able to be done in the root path.