Refactoring in admin edit user.