api with unique slug for every document added; adding docs from UI