Still working on Login, Created a crypto folder under the src folder which has Encryption class and EncryptionType enum for encrypting the dummy password.
Created a filter folder under the src folder which has a filter that will hit every servlet to make sure the user is logged in.
Added a GroupManager and UserManager to the manager folder to manage the users and groups for log in. Added a Group and User class to the model folder. Added my model classes to the persistence.xml.
Changed the web.xml welcome-file-list to hit the terms servlet first