Create MainPage.xaml.cs

main page (logon) code