implementation of command private_msg broadcast_msg and nick on client app