Added Permissions Controller and improved creation of nodes