private async Task <bool> LoginButtonPressed(UITextField userNameField,
                                                     UITextField passwordField,
                                                     object sender)
        {
            //set current user procedure goes here
            UserAuthService authService = new UserAuthService(new UserData(userNameField.Text,
                                                                           passwordField.Text));
            bool isSuccess = await authService.Login();

            if (!isSuccess)
            {
                return(false);
            }

            if (OnLoginSuccess != null)
            {
                OnLoginSuccess(sender, new EventArgs());
            }
            return(true);
        }