public static void RedirectRequests(RewriteContext context)
        {
            var request = context.HttpContext.Request;
            var path    = request.Path.Value;

            var publicRoutes = new List <string>
            {
                "Index",
                "Authentication/Login",
                "Authentication/Register"
            };

            var isUserLoggedIn = AuthenticationUtils.IsUserLoggedIn(context.HttpContext);

            bool isRoutePublic = false;

            publicRoutes.ForEach(route =>
            {
                if (path.Contains(route))
                {
                    isRoutePublic = true;
                }
            });

            if (!isUserLoggedIn && !isRoutePublic)
            {
                context.HttpContext.Response.Redirect(CurentCultureUtils.GetCurrentCultureLink("Authentication/Login"));
            }
        }