Changes to allow home page to load if it doesnt recieve the home from the database