Made the home page load and save real data