Naveen connected Documents UI with the database. Insert only