added home controller and repository