just updating with my own mysql password
changed the hash stored in the database as well as the login to use this new hash, but have some errors.. Need more testing
now registration and login used prepared statements and the recommended way of storing passwords is used. Still need to check if password is strong enough and add a password generator. Some more testing as well is needed.
updated the script.sql with new password hashes so one can still login with the password: password for all users. Need to update the cookie with the user id on login.
now getClientId and getActive is added to the db handler, storing cookies works fine.
removed the "active" stuff, also fixed some bugs
Merge pull request #1 from maximizeIT/login_register_update

Login register update