added team functionality and permissions to menu items