Updating the web.xml to allow welcome files
Removing some code and touching other parts