adding directives for teams and projects and including them in the pages