fixed webapp.py and added index page