Added a template and update view.index