now hooked up to mongodb. editing defs works but still needs link formatting