async void ExecuteToMainPage()
        {
            userDatabase = new UserDatabase();
            var users = await userDatabase.GetUsers();

            var user = await userDatabase.GetUserByEmail(Login.Email);


            if (user != null)
            {
                var logInfo = new { Email = user.Email, Password = user.Password };

                var json    = JsonConvert.SerializeObject(logInfo);
                var uri     = "http://10.0.2.2:5000/UserLoginDetails";
                var content = new StringContent(json, System.Text.Encoding.UTF8, "application/json");
                var http    = new HttpClient();
                await NavigationService.NavigateAsync("MainPage");

                var post = await http.PostAsync(uri, content);

                try
                {
                    await _pageDialog.DisplayAlertAsync("Hey There", post.ReasonPhrase, "Okay");
                }
                catch (Exception ex)
                {
                    await _pageDialog.DisplayAlertAsync("Hey There", ex.Message, "Ok");
                }
            }
            else
            {
                await _pageDialog.DisplayAlertAsync("Hey There", "Current User doesn't exist", "Ok");

                Login = new Login();
            }
        }