fixed home controller to reflect db changes