implemented first version of index page