Function getAllProjects