removed servlet tags in web.xml and used annotations instead