adds the method to load projects on load, starts templating the index page