UserDefaults in Chris project

Can somebody help me,i got project by Chris (
where should i add the UserDefaults settings to make HomeViewController - default after login

unless you have a way to save the state of auth after login then it should really go to the log-in page everytime

so the upgraded version of this is you should figure out a way to save login details and auto auth your user after launching the app so it should go to the homeviewcontroller automatically