make projects page usable in multiple controllers