private async void SignInClick(object sender, RoutedEventArgs e) { string username = id.Text; string password = pwd.Password; this.userViewModel.Register(username, password); page.LoadMenu(); this.Frame.Navigate(typeof(BudgetPage)); }