how to use the login and logout from two scenes

I have two scenes, one is the login scene and the second scene is game scene which also has a logout, the first scene is the login scene ,once loged in unless the logout button in the second screen is pressed, when ever the app is opened the app should load the second page first.

how to show login form for the first time in unity And after login never appear the form?