added a broadcastreceiver and a logUtil