Add client side validation for user edit view.