Added security elements, encryption for passwords, reworked web.xml