added friendhandler and added chatmessage sender