register-user edited