public async Task <IActionResult> Logout()
        {
            var userInfo = HttpContext.Session.GetUserInfo();

            var result = await _identityLogic.Logout(userInfo);

            // Remove session values
            if (result)
            {
                HttpContext.Session.Clear();
                return(Ok("Successfully logged-out"));
            }

            return(BadRequest("Failed to log-out"));
        }