public static bool IsAuthenticated(this NancyModule module) { return(module.GetPrincipal().IsAuthenticated()); }