add encodePassword(user) for userEdit