HomeController controller modified; access to the favourite_photos and photo_categories added in index action