add documents controller