public IActionResult Login(Authenticate user)
        {
            try
            {
                _log4net.Info(" Http POST request " + nameof(Login) + " method called");

                AuthorizationProvider authorizationProvider = new AuthorizationProvider(config);
                string Token = authorizationProvider.GetToken(user);
                if (!string.IsNullOrEmpty(Token))
                {
                    HttpContext.Response.Cookies.Append("Token", Token);
                    return(View("Home"));
                }

                ViewBag.Message = "Invalid Name or Password";
                return(View("Login"));
            }
            catch (Exception e)
            {
                _log4net.Error("Error From POST " + nameof(Login) + " Error Message: " + e.Message);
                return(View("Error"));
            }
        }