Improve profile editing form, adding validation and notifications of errors to the user.