Inserts <treename> and <access> to tree_index

userid =1, treeid = c1 by default