Server-side validation on password fields when registering.
Added password changing.