When I create a view I wish to login the user and when the login is complete, the view will change.
As I am quite new to SwiftUI it seems the way I am trying to this