removed public/index.html and added pages controller