partial controller and simple index page