Updated header
Added encrypted password in database
Improved SQL management.