encrypt user password with SHA512 instead of MD5