homes_controller modified