public IActionResult Logout()
        {
            //gather some data before signing out
            var currentUserId = CurrentUser.Id;
            var imitation     = CurrentUser.IsImitator(out _);

            //sign out active session now
            _appAuthenticationService.SignOut();

            //do we have an imitation active/
            if (imitation)
            {
                return(RedirectToRoute(AdminRouteNames.UserImitate, new { userId = currentUserId }));
            }
            return(Redirect(Url.RouteUrl(RouteNames.Home)));
        }