Changed the URLs in the .jsp files, updated web.xml and added logout
servlet.