Attempted fix of home page
Add error handling
Add cookies to keep track of location
Fix things