implemented home/index
adjust controller logic.