remove NHibernate unit of work  and replaced with mongo uow.   created pages tree using javascript