added ident and register

 changed ping-pong behavior