userEdit method changed