add pages model controller and index page