adding the feature of creating a new node on the UI menu, a new doc node
in the database