Minor changes to home page logic