Update index.ctp

Fix bug model or Session