Changed Generated Value strategy from AUTO to IDENTITY in model classes.
Added RegistroAccesoDao class
Added HttpSession parameter to processForm() method in LoginController to get SessionID