fix name checking and send a message to the user who sent a pm