[MUSIC] I'm going to try logging in with an existing user now. And let's see if the My Hobbies collection gets updated. So I'm going to, again I'm using my computer's keyboard to type into this text field. But if you want to simulate how a real user would use an iPhone app, then you can go to Hardware and Keyboard and toggle on the Software Keyboard. So let's show how that looks. I'll type in Justin20, no excuse me, yeah I think this is an existing user Justin2016, and I'll hit return. Okay, something bad happened so let's go see what we forgot to do. And it says HobbyCollectionViewCell. Must register at nib or class for identifier or connect a prototype cell in a storyboard. So, we, this is that reuse identifier that I showed you earlier. And we did put that into our storyboard, but maybe we didn't put it in the right place. So let's go to me view controller, and I'm sorry, let's go to hobby share view controller and look at our CellForItemAtIndexPath function. And we want to look for our reads identifier which is here in red, this string HobbyCollectionViewCell. Now let's go over to the Main.storyboard. And we want to find the cell in our collection view. So here's our cell, and let's take a look at it. It's a HobbyCollectionViewCell, so that's the right type of cell, but our identifier is blank here so that's probably what its complaining about. And since we are catching this now, it's a good opportunity to go and make sure that if you are implementing different parts of the app in the application that we've got the UI all set up and ready to go already. So let's just make sure that we have the views identifier for all of the hobbies, collection view cells and the whole application. So this one's blank too, so we can copy paste the same string there. Because again, we only have that one reuse identifier in our hobby share view controller class so this one's also blank. And maybe this one down here in the neighbor’s scene is blank as well? Yes it is so we paste it there again. Okay, now let's run the application one more time now that we've corrected that. The application is back and I'm going to try and sign in with that user again, so Justin 2016. And I'll hit submit. And we see our Hobbies Collection view got updated. Now, it looks a little bit funny because it's on a black background. We can fix that in the storyboard as well, by selecting the My Hobbies Collection view. And we want to look at the attributes inspector and then we can go scroll down until you see the view section. And look for the background property, we want to set the background color to clear color instead of the default color. And since our cell's text is white, and we've made this collection view clear and the background behind that is white, let's make also our cells have a different colored background so that it's easy to see. So I'll select that cell and in its background property, I'll choose dark gray color. Okay so now this is kind of what it will look like at run time, white text on a gray background. And if we run the application again. Here we go. I'm going to log in with Justin2016 one more time. Hit submit. And it looks like our collection view became clear, but our text is white and it didn't take this change that we have in our storyboard. There's one thing we actually need to do in code instead of setting the background color of the cell here. We actually need to set that in code. So let's go to hobby share view controller. And in cell for item Index Path, we will say cell.backgroundColor = UIColor.darkGrayColor. And let's run the application again. We should see it, how we expect to look. For some reason, when you set the background color in the storyboard, it doesn't quite take for, UA collection of E cells or table cells. So, again, login with Justin2016, submit, and now we have a white text on our gray cells. So we've got the me view controller finally totally working, we can sign up, create a new user. Sign in with an existing username. And if we had hobbies on an existing user, we can see those hobbies get updated in the collection view. And of course we know that they're also saved to NSUserDefaults, so they should be immediately available for any other view in the application. We haven't implemented the edit hobbies view controller or the neighbor's view controller yet, but I wanted to just see if we can see the hobbies being immediately usable since they are being read to disk. And the same class Hobby Share View Controller is the super class of all of these view controllers. All right, so that'll have to wait until we implement that, which we'll see in the next video and so that's great. We have one out of the three view controllers done. [MUSIC]