some changes to the dependencies and web.xml