#802 Allow 256 characters in password field instead of 40
#802 Add function to hash with SHA512
#802 Convert password when loging in to SHA-512 if not done yet
#802 Add a salt field with a random value
#802 Don't add a random_key when updating
#802 UPdate the login script to handle old passwords and convert to new passwords
#802 Update registration form
#802 Update to follow new function