converted storeId and beaconId into numbers on DashboardCtrl