Encrypt user password at register