Simple login and register form with QT that saves the data on a MySQL database with password encryption