modified getallBeaconDocByUser api