Changed the orrgnal MainPage.xaml to LoginPage.xaml to match its acutal fucntion