1 00:00:02,340 --> 00:00:04,660 So we're fetching data, writing data, 2 00:00:04,660 --> 00:00:11,430 we're using our token to authenticate ourselves, to get access to restricted resources. We're using the user 3 00:00:11,430 --> 00:00:18,240 ID to scope our products and also to scope our orders. 4 00:00:18,270 --> 00:00:22,500 With that, we have the application which we can see here. 5 00:00:22,500 --> 00:00:29,220 Now one thing I noticed here is that if I login and I go to my admin section, I still don't see the 6 00:00:29,220 --> 00:00:33,380 product I just created. So something's wrong there, 7 00:00:33,380 --> 00:00:35,000 let's check our products 8 00:00:35,030 --> 00:00:41,960 action creator where I fetch the product and where I do the filtering, there I check that the owner ID 9 00:00:41,960 --> 00:00:45,760 on the product I'm looking at is equal to my userId 10 00:00:45,820 --> 00:00:48,520 but yes, here of course I have an error, 11 00:00:48,590 --> 00:00:52,850 I still have my hardcoded owner ID, that owner ID here. 12 00:00:52,850 --> 00:00:55,240 Well that should of course be retrieved from the back-end, 13 00:00:55,250 --> 00:01:01,520 so there for resData key.ownerId, I want to take the owner ID I get from the date I fetch 14 00:01:01,520 --> 00:01:02,970 on Firebase. 15 00:01:03,080 --> 00:01:04,660 So with this change in place, 16 00:01:04,760 --> 00:01:12,000 now if we do this again and we do login again, if I now go to admin, now I see my scarf there.