Fixing problems in registration and account edit