added temp index page, hook, and controller