void RegisterExecute() // AMEND LATER { try { CommunicationHandler.Connect(Username, Password, true); if (CommunicationHandler.Connected) { ns.Navigate(new Uri("Views/MessagingPage.xaml", UriKind.Relative)); } } catch (Exception e) { OutputString = e.Message; } }