partially implemented index.html and its view