added new pir sensor handler