adding security check for installation based on device id