You can get the user access status through the mapping of Process Main xaml file arguments to Apps.
But before that just curious to know if login page is really required ? As you can directly control the user access from the App’s inbuilt access feature ? Just a thought.
Thanks
#nK