Added data persistence of the user class using hibernate. Fixed issue
with password on swing user view.