Modified to add home page controller