Add new collections API endpoints, addDoc and create