updated index and added home controller