added functionality to get projects with resources