adds things needed to load the home page