Hooking up mongodb backend