I created a login screen in a .NET Core project and I would like that same screen to be loaded as soon as I execute the project, to validate the user's authentication and, if it had a registry, I would go to the screen Project Index.
Obs. The data query is already treated in the code to validate access.
How can I make this change?