Smart Security with Motion Sensor