Moving users between view controllers

I currently have the following function, at the moment it takes me to the ‘homeViewController’

  func transitionToHome() {
    let homeViewController = storyboard?.instantiateViewController(identifier: Constants.Storyboard.homeViewController) as? HomeViewController
    view.window?.rootViewController = homeViewController

However the homeViewcontroller is the page a user is taken to after logging in, I am looking to use this function when a user logs out to take them to the ‘UIViewController’, however whenever I use UIViewController instead of homeViewController in the above code, it produces the following error.

Type 'Constants.Storyboard' has no member 'UIViewController'

What do I need to do in order to make this work and take the user to the very first viewcontroller for the app?

Here’s the view of the view controller I am trying to redirect the user to.

You need to make a Storyboard ID for your original view controller if thats the case and use that instead to call the view