adding in initial db communication for story editing