Registration re-written with failure messages.
Editing profile doesn't allow duplicate email/username.